<%@ page import="com.apexedu.portal.constant.Constants" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    request.setAttribute("basePath", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title><%=Constants.ProjectInfo.PROJECT_NAME%></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="${basePath}/resources/css/mh.shmy.css" rel="stylesheet">
    <script type="text/javascript" src="${basePath}/clientui/js/jquery-1.4.js"></script>
    <script src="${basePath}/resources/js/mh.shmy.index.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
    <jsp:include page="left.jsp"/>
    <div id="right">
        <jsp:include page="head.jsp"/>
        <div id="contentSub">
            <div id="noticeDetail">
                <div>
                    <div class="title">${blog.title}</div>
                    <div
                            style="border-top: 1px solid dodgerblue; width: 95%; MARGIN-RIGHT: auto; MARGIN-LEFT: auto;"></div>

                    <div class="titleDetail">发布单位：${blog.bmname}&nbsp;&nbsp;&nbsp;&nbsp;发布时间：${blog.fbsj}
                    </div>
                    <div class="contentXx">${blog.content}</div>

                    <br/>

                    <div style="font-size: 20px">
                        <c:if test="${blog.attach!=null &&fn:length(blog.attach)!=0 }">
                            <img src="${basePath}/resources/images/attach.gif" complete="complete"/>相关附件：
                        </c:if>

                        <c:forEach items="${blog.attach}" var="attach">
                            <img src="${basePath}/resources/images/col-move-top.gif"
                                 complete="complete"/>
                            <a href="${basePath}/s/uc/mh/down/${attach.id}"
                               target="_blank"> ${attach.title} </a>
                        </c:forEach>
                    </div>
                </div>
            </div>
        </div>
        <jsp:include page="foot.jsp"/>
    </div>
</div>
</body>
</html>
